package modeleIndexation;

import java.util.ArrayList;
import java.util.List;

public class DocIndex {
	private String name;
	private List<NoeudIndex> listeNoeuds;
	private int id;
	
	public DocIndex(String name){
		this.name = name;
		this.listeNoeuds = new ArrayList<NoeudIndex>();
	}
	
	public String getName() {
		return name;
	}
	
	public int getID(){
		return id;
	}
	
	public void setID (int id) {
		this.id=id;
	}
	
	public List<NoeudIndex> getListeNoeuds() {
		return listeNoeuds;
	}
	
	public void addNoeuds(NoeudIndex noeud) {
		this.listeNoeuds.add(noeud);
	} 
	
}
